<template>
  <div>
    {{ timeformat($data.data.createDate) }}
  </div>
</template>

<script>
import moment from 'moment'
export default {
  data () {
    return {
      pattern: 'MM/DD/YYYY'
    }
  },
  created () {
  },
  methods: {
    timeformat (time) {
      if (time) {
        return moment(time).utc().format(this.pattern) + ' ' + 'UTC'
      } else {
        return ''
      }
    }
  }
}
</script>

<style>

</style>
